﻿using FluentValidation;
using Radzen.Blazor;

namespace Client.BlazorWasmApp.Shared;

public partial class MainLayout
{
    protected bool sidebarExpanded = true;

    protected override void OnInitialized()
    {
        StateHasChanged();
    }

    void SidebarToggleClick()
    {
        sidebarExpanded = !sidebarExpanded;
    }

    protected void ProfileMenuClick(RadzenProfileMenuItem args)
    {
        if (args.Value == "Logout")
        {

        }
    }
}